# Contributor: ScrumpyJack <scrumpyjack@me.com>
# Maintainer: ScrumpyJack <scrumpyjack@me.com>
pkgname=xclock
pkgver=1.1.1
pkgrel=0
pkgdesc="Clock for the X Window System"
url="https://www.x.org/"
arch="all"
license="MIT"
makedepends="
	libx11-dev
	libxaw-dev
	libxft-dev
	libxkbfile-dev
	libxmu-dev
	libxrender-dev
	"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/xclock-$pkgver.tar.xz"
options="!check" # no tests

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--datarootdir=/usr/share
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
059ea986bc7537c2796e8855676e8357bd8a7852fbac0839b3f8a9e3ffa088de41bc4e4961973353f0a7b7293366b81bc764d74f3dc4e90e361da06185d976e7  xclock-1.1.1.tar.xz
"
